package demo.util;

import demo.service.vo.CertRequest;

import java.util.ArrayList;
import java.util.List;

public class DataUtil {

    public static List<CertRequest> createCertRequest(int count) {
        List<CertRequest> certRequestList = new ArrayList<>();
        for(int i = 0; i < count; i++) {
            CertRequest request = new CertRequest();
            request.setId("id-" + i);
            request.setName("name-" + i);
            request.setP10("demo p10");
            certRequestList.add(request);
        }
        return certRequestList;
    }
}
